package com.lottery.game.core.modules.service.app;

import com.lottery.game.core.modules.entity.user.UserRankPojo;
import com.lottery.game.core.modules.mapper.UserRankDao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserRankService {

	@Autowired
	private UserRankDao userRankDao;

	public List<UserRankPojo> getAllUserRank() {
		UserRankPojo userRank = new UserRankPojo();
		return this.userRankDao.getAllUserRank(userRank);
	}

	public UserRankPojo getUserRank(UserRankPojo userRank) {
		return this.userRankDao.getUserRank(userRank);
	}

}
